-
Home
-
The Events Calendar
-
6.6.0.2
-
Code
-
Classes
- Rest_Endpoint
Total Complexity |
42 |
Dependencies |
4 |
Dependents |
4 |
Total lines |
527 |
Lines of code |
201 |
Logical lines of code |
109 |
Comment lines |
266 |
Methods |
14 |
Properties |
3 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_valid_request() |
A |
54 |
9 |
20 |
get_mocked_rest_request() |
S |
55 |
7 |
19 |
is_available() |
S |
59 |
5 |
15 |
get_request_arguments() |
S |
44 |
2 |
59 |
preserve_user_for_custom_nonces() |
S |
63 |
4 |
11 |
get_rest_nonces() |
S |
55 |
2 |
23 |
handle_ajax_request() |
S |
66 |
3 |
8 |
register() |
S |
60 |
2 |
13 |
get_url() |
S |
62 |
2 |
11 |
get_method() |
S |
71 |
2 |
5 |
get_stored_user_id() |
S |
80 |
1 |
3 |
get_rest_nonce_html() |
S |
74 |
1 |
4 |
enable_ajax_fallback() |
S |
71 |
1 |
5 |
did_rest_authentication_errors() |
S |
72 |
1 |
5 |